package com.boot.study.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.mzt.logapi.starter.annotation.DiffLogField;
import lombok.Data;

/**
 * @Author likz
 * @Date 2025/1/22 15:23
 * @Description
 **/
@Data
@TableName("test_user")
public class TestUser {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField(value = "sex")
    @DiffLogField(name = "性别")
    private String sex;
    @TableField(value = "name")
    @DiffLogField(name = "姓名")
    private String name;
    @TableField(value = "phone")
    @DiffLogField(name = "手机号")
    private String phone;
    @TableField(value = "is_deleted")
    private String isDeleted;


}
